package cn.iocoder.yudao.module.shop.framework;

import cn.iocoder.yudao.framework.util.SwaggerUtils;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * web 组件的配置类
 */
@Configuration(proxyBeanMethods = false)
public class ShopWebConfiguration {

    @Bean
    public GroupedOpenApi shopGroupedOpenApi() {
        //return SwaggerUtils.buildGroupedApi("shop", "/admin-api/merchant/shop/**", "/app-api/shop/**");
        return SwaggerUtils.buildGroupedAppApi("shop");
    }

}
